package com.bootdo.netty.common;

import io.netty.channel.Channel;

import java.util.concurrent.ConcurrentHashMap;

/**
 * socket连接引用
 */
public class CtxRefList {
    /**
     * 引用实例根据 key 取出
     */
    public static final ConcurrentHashMap<String, Channel> CXTREF = new ConcurrentHashMap<String,Channel> ();

    /**
     * channeId和用户自定义标识的对应关系
     */
    public static final ConcurrentHashMap<String,String> CHANNEIDKEY = new ConcurrentHashMap<String,String> ();

}
